home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
prg_basi
/
n_b-v200.zip
/
NBV2
/
DMO
/
SELCIRCL.DMO
< prev
Wrap
Text File
|
1996-03-11
|
3KB
|
42 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME SELCIRCL.DMO ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
Like the arrows, this is one of those GUI things that it is difficult to
leave home without. The thing simply draws a circle with or without a
dot in the center to indicate ON/OFF.
$endif
'.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°
' ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° °
'┌────────────────────────────────
$INCLUDE "DAS-NB01.INC" '│
$INCLUDE "DAS-NBV1.INC" '│
$INCLUDE "DAS-NBV2.INC" '│
'│
CLS '│ get over to VGA color screen
SCREEN 12 '│
GraphicSETUP '│ set-up for DASoft's graphics
fLoadDAScolor '│
'│
LOCATE 2, 4 : PRINT "This is OFF!" '│ a little message
LOCATE 5, 4 : PRINT "This is ON!" '│ another little message
'│
SelectCircle 4, 16, 15, 0 '│ put the circle without dot
SelectCircle 4, 64, 15, 1 '│ put the circle with a dot
'│
WHILE NOT INSTAT : WEND '│ a clean exit
CLS : PALETTE : SCREEN 0 : END '└─────────────────────────────────